import request from "@/api";

export const deleteBrandApi = (brandId: number | string): Promise<OwnAxiosResponse<null>> => {
    return request.delete(`/api/brand/delete/${brandId}`)
}

export const getBrandListApi = (params): Promise<OwnAxiosResponse<ListResponse>> => {
    return request.get(`/api/brand/list`,{
        params
    })
}
